package net.nm.skype;


import com.skype.Skype;
import com.skype.connector.Connector;

public class Main {

	public static void main(String[] args) throws Exception {

		Skype.setDeamon(false);

		String SkypeAccountID=Skype.getProfile().getId();
		
		ActivityHandler handler = new ActivityHandler();
		handler.setSkypeAccount(SkypeAccountID);
		handler.setTwitterAccount("nmaisonneuve","astiko");
		
		// CONNECTOR LISTENER
		Connector.getInstance().addConnectorListener(handler);

		// CALL LISTENER 
		Skype.addCallListener(handler);
		
		// CHAT LISTENER 
		Skype.addChatMessageListener(handler);

		handler.init();

	}
}
